algorithm to check given number is armstrong or not

join shbcf.ru